Download and Install gcc_select version 0.1 on Mac OS X
Thursday the 3rd of July, 2008

    gcc_select  most recent diff


      View the most recent changes for the gcc_select port at: gcc_select.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for gcc_select.
      The raw portfile for gcc_select 0.1 is located here:
      http://gcc_select.darwinports.com/dports/sysutils/gcc_select/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gcc_select
      Google
      Web Darwinports.com



      # $Id: Portfile 34457 2008-02-25 21:29:48Z raimue macports.org $

      PortSystem 1.0

      Name: gcc_select
      Version: 0.1
      revision 1
      Category: sysutils
      Platform: darwin
      Maintainers: mww
      Description: Switch the default compiler
      Long Description: gcc_select lets you switch the default compiler. It symlinks the standard compiler executables in the MacPorts prefix to the selected version.

      Homepage: http://svn.macports.org/repository/macports/users/mww/select/
      master_sites ${homepage}
      distname select-${version}
      checksums sha1 18e1f95c2ddd88210aa52eb696261859af2dc3a4

      configure.args --mandir=${prefix}/share/man --name=gcc

      post-destroot {
      xinstall -m 644 -W ${filespath} base ${destroot}${prefix}/etc/select/gcc
      }

      # install & select gcc33
      platform darwin 7 {
      post-destroot {
      xinstall -m 644 -W ${filespath} gcc33 ${destroot}${prefix}/etc/select/gcc
      system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc33"
      }
      }

      # install gcc33, gcc40 & select gcc40
      platform darwin 8 ppc {
      post-destroot {
      xinstall -m 644 -W ${filespath} gcc40 gcc33 ${destroot}${prefix}/etc/select/gcc
      system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
      }
      }

      # install & select gcc40
      platform darwin 8 i386 {
      post-destroot {
      xinstall -m 644 -W ${filespath} gcc40 ${destroot}${prefix}/etc/select/gcc
      system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
      }
      }

      # install & select gcc40
      platform darwin 9 {
      post-destroot {
      xinstall -m 644 -W ${filespath} gcc40 ${destroot}${prefix}/etc/select/gcc
      system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
      }
      }

      livecheck.check none

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/gcc_select
      % sudo port install gcc_select
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching gcc_select
      ---> Verifying checksum for gcc_select
      ---> Extracting gcc_select
      ---> Configuring gcc_select
      ---> Building gcc_select with target all
      ---> Staging gcc_select into destroot
      ---> Installing gcc_select
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using gcc_select with these commands:
      %  man gcc_select
      % apropos gcc_select
      % which gcc_select
      % locate gcc_select

     Where to find more information:

    Darwin Ports



    image test